﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CCDiscrepanceRuleQuery.aspx.cs" Inherits="WMS6.Web.Configuration.CCDiscrepanceRuleQuery" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>CCDiscrepanceRuleQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>  
      <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>    
    <base target="_self" />   
    <script type="text/javascript">
    
      function pageLoad() {
            var actionID = window.dialogArguments;
            if(actionID != "" && actionID != null)
            {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0],array[1]);
            }
            else
            {
                initQueryPage();
            }
      }
    
        //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }
    </script>
</head>
<body>
    <form id="F2214" runat="server">
    <div>
        
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_menu">
             <div style="float: left; width: 8px;">
                <div class="tabL"></div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblBu" runat="server" Text="循环盘点差异处理规则" CssClass="hover" 
                    meta:resourcekey="lblBu"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR"></div>
            </div>
        </div>
        
        <div id="div_query">
            <table width="580px" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width:180px">
                        <asp:Label CssClass="label" ID="lblCcAdjRuleID" runat="server" 
                            Text="处理规则代码" meta:resourcekey="lblCcAdjRuleID"></asp:Label>
                    </td>
                     <td style="width:30px">
                        &nbsp;
                    </td>
                    <td style="width:160px">
                        &nbsp;
                    </td>
                    <td style="width:200px"></td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtCcAdjRuleID" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtCcAdjRuleID"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlCcAdjRuleID" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlCcAdjRuleID"></asp:DropDownList></td>
                    <td></td>
                 </tr>
                 
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblDescr" runat="server" Text="描述" 
                            meta:resourcekey="lblDescr"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtDescr" CssClass="textbox" runat="server" MaxLength="20" 
                            meta:resourcekey="txtDescr"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlDescr" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlDescr"></asp:DropDownList></td>
                    <td></td>
                 </tr>
                 
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblPosAdjLot" runat="server" Text="正值调整批次号" 
                            meta:resourcekey="lblPosAdjLot"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtPosAdjLot" CssClass="textbox" runat="server" MaxLength="20" 
                            meta:resourcekey="txtPosAdjLot"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlPosAdjLot" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlPosAdjLot"></asp:DropDownList></td>
                    <td></td>
                 </tr>
                 
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblPosAdjProduceDate" runat="server" 
                            Text="正值调整生产日期" meta:resourcekey="lblPosAdjProduceDate"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtPosAdjProduceDate" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtPosAdjProduceDate"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtPosAdjProduceDate)" /></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlPosAdjProduceDate" CssClass="selectbox" runat="server" 
                            onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div1,img2);" 
                            meta:resourcekey="ddlPosAdjProduceDate"></asp:DropDownList></td>
                    <td>
                        <div style="display:none;" id="div1">
                            <asp:TextBox ID="txtPosAdjProduceDate2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtPosAdjProduceDate2"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" id="img2" runat="server" onclick="setday(this,txtPosAdjProduceDate2)"/>
                        </div>
                    </td>
                 </tr>
                 
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblPosAdjExpiryDate" runat="server" 
                            Text="正值调整失效日期" meta:resourcekey="lblPosAdjExpiryDate"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtPosAdjExpiryDate" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtPosAdjExpiryDate"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtPosAdjExpiryDate)" /></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlPosAdjExpiryDate" CssClass="selectbox" runat="server" 
                            onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div2,img3);" 
                            meta:resourcekey="ddlPosAdjExpiryDate"></asp:DropDownList></td>
                    <td>
                        <div style="display:none;" id="div2">
                            <asp:TextBox ID="txtPosAdjExpiryDate2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtPosAdjExpiryDate2"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" id="img3" runat="server" onclick="setday(this,txtPosAdjExpiryDate2)"/>
                        </div>
                    </td>
                 </tr>
                 
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblPosAdjReceiptDate" runat="server" 
                            Text="正值调整入库日期" meta:resourcekey="lblPosAdjReceiptDate"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtPosAdjReceiptDate" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtPosAdjReceiptDate"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtPosAdjReceiptDate)" /></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlPosAdjReceiptDate" CssClass="selectbox" runat="server" 
                            onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div3,img4);" 
                            meta:resourcekey="ddlPosAdjReceiptDate"></asp:DropDownList></td>
                    <td>
                        <div style="display:none;" id="div3">
                            <asp:TextBox ID="txtPosAdjReceiptDate2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtPosAdjReceiptDate2"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" id="img4" runat="server" onclick="setday(this,txtPosAdjReceiptDate2)"/>
                        </div>
                    </td>
                 </tr>
             
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblNegAdjLot" runat="server" Text="负值调整批次号" 
                            meta:resourcekey="lblNegAdjLot"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtNegAdjLot" CssClass="textbox" runat="server" MaxLength="20" 
                            meta:resourcekey="txtNegAdjLot"></asp:TextBox></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlNegAdjLot" CssClass="selectbox" runat="server" 
                            meta:resourcekey="ddlNegAdjLot" ></asp:DropDownList></td>
                    <td>
                    </td>
                 </tr>
                 
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblNegAdjProduceDate" runat="server" 
                            Text="负值调整生产日期" meta:resourcekey="lblNegAdjProduceDate"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtNegAdjProduceDate" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtNegAdjProduceDate"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtNegAdjProduceDate)" /></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlNegAdjProduceDate" CssClass="selectbox" runat="server" 
                            onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div4,img5);" 
                            meta:resourcekey="ddlNegAdjProduceDate"></asp:DropDownList></td>
                    <td>
                        <div style="display:none;" id="div4">
                            <asp:TextBox ID="txtNegAdjProduceDate2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtNegAdjProduceDate2"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" id="img5" runat="server" onclick="setday(this,txtNegAdjProduceDate2)"/>
                        </div>
                    </td>
                 </tr>
                 
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblNegAdjExpiryDate" runat="server" 
                            Text="负值调整失效日期" meta:resourcekey="lblNegAdjExpiryDate"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtNegAdjExpiryDate" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtNegAdjExpiryDate"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtNegAdjExpiryDate)" /></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlNegAdjExpiryDate" CssClass="selectbox" runat="server" 
                            onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div5,img6);" 
                            meta:resourcekey="ddlNegAdjExpiryDate"></asp:DropDownList></td>
                    <td>
                        <div style="display:none;" id="div5">
                            <asp:TextBox ID="txtNegAdjExpiryDate2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtNegAdjExpiryDate2"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" id="img6" runat="server" onclick="setday(this,txtNegAdjExpiryDate2)"/>
                        </div>
                    </td>
                 </tr>
                 
                 <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblNegAdjReceiptDate" runat="server" 
                            Text="负值调整入库日期" meta:resourcekey="lblNegAdjReceiptDate"></asp:Label>
                    </td>
                      <td>
                        &nbsp;
                    </td>
                    <td>
                         &nbsp;
                    </td>
                 </tr>
                 <tr>
                    <td><asp:TextBox ID="txtNegAdjReceiptDate" CssClass="textbox" runat="server" 
                            MaxLength="20" meta:resourcekey="txtNegAdjReceiptDate"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtNegAdjReceiptDate)" /></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlNegAdjReceiptDate" CssClass="selectbox" runat="server" 
                            onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div6,img7);" 
                            meta:resourcekey="ddlNegAdjReceiptDate"></asp:DropDownList></td>
                    <td>
                        <div style="display:none;" id="div6">
                            <asp:TextBox ID="txtNegAdjReceiptDate2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtNegAdjReceiptDate2"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" id="img7" runat="server" onclick="setday(this,txtNegAdjReceiptDate2)"/>
                        </div>
                    </td>
                 </tr>
                 
                 <tr>
                    <td><asp:Label ID="lblQtyGtrZero" runat="server" CssClass="label" Text="量大于0" 
                            meta:resourcekey="lblQtyGtrZero"></asp:Label></td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                 </tr>
                 <tr>
                    <td><asp:DropDownList ID="ddlQtyGtrZero" CssClass="mediumselectbox" runat="server" 
                            meta:resourcekey="ddlQtyGtrZero"></asp:DropDownList></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlQtyGtrZeroOpr" runat="server" CssClass="selectbox" 
                            Visible="False" meta:resourcekey="ddlQtyGtrZeroOpr"></asp:DropDownList></td>
                     <td></td>
                 </tr>
                 
                 <tr>
                    <td><asp:Label ID="lblIsActive" runat="server" CssClass="label" Text="是否启用" 
                            meta:resourcekey="lblIsActive"></asp:Label></td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                 </tr>
                 <tr>
                    <td><asp:DropDownList ID="ddlIsActive" CssClass="mediumselectbox" runat="server" 
                            meta:resourcekey="ddlIsActive"></asp:DropDownList></td>
                    <td>&nbsp;</td>
                    <td><asp:DropDownList ID="ddlIsActiveOper" runat="server" CssClass="selectbox" 
                            Visible="False" meta:resourcekey="ddlIsActiveOper"></asp:DropDownList></td>
                    <td></td>
                 </tr>
                 
            </table>
       </div>
       
       <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>" CssClass="button" Enabled="False" 
                            onclick="btnSearch_Click"    />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" Text="<%$Resources:ButtonResource,btnNew%>" CssClass="button" 
                            Enabled="False" 
                            OnClientClick="javascript:window.location.href='CCDiscrepanceRule.aspx?from=query';return false;" 
                             />
                    </td>
                    <td>
                        <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>" CssClass="button" 
                            Enabled="False" onclick="btnList_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>" CssClass="button" 
                            Enabled="False" 
                            OnClientClick="javascript:window.location.href='CCCDiscrepanceRuleList.aspx?from=query&export=y';return false;" 
                             />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
    </div>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--		
			hiddenCalendarDiv();
		//-->
</script>